package cn.zhoumingxin.Test;

public class TestBoolean {
	public static void main(String[] args) {
		int a = 1, b = 1;
		boolean c = (a != 1 && (++b == 2));
		System.out.println(c);					// ①
		System.out.println(b);					// ②
		boolean d = (a == 1 || (++b == 2));
		System.out.println(d);					// ③ 
		System.out.println(b);					// ④

	}

}
